import {AppRouteRecordRaw} from "/@/router/types";

import { LAYOUT } from '/@/router/constant';
// getParentLayout
const DemoRoute: AppRouteRecordRaw = {
    path: '/demo',
    name: 'Demo',
    component: LAYOUT,
    redirect: '/demo/modal',
    meta: {
        title: 'Demo',
    },
    children: [
        {
            path: 'modal',
            name: "modal",
            component: () => import('/@/views/demo/model/index.vue'),
            meta: {
                title: '弹窗'
            }
        }
    ]
};

export default DemoRoute